package com.linq.cool.beauty.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: yqlin
 * @Date: 2021/2/2 14:33
 * @Description:
 * @Version: 1.0.0
 */
@Data
@Accessors(chain = true)
public class BeautyMemberDTO implements Serializable {
    private Long id;

    @NotBlank(message = "手机号不能为空")
    private String phone;

    private String password;

    @NotBlank(message = "身份证号码不能为空")
    private String idNumber;

    @NotBlank(message = "真实姓名不能为空")
    private String realName;

    @NotBlank(message = "省不能为空")
    private String province;

    @NotBlank(message = "市不能为空")
    private String city;

    @NotBlank(message = "区不能为空")
    private String county;

    @NotBlank(message = "所在地址不能为空")
    private String address;

    @NotNull(message = "用户性别不能为空")
    private Integer gender;

    @NotNull(message = "用户状态不能为空")
    private Integer status;
}
